@import './variables.scss';
@import './sidebar.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

.amap-sug-result {
  z-index: 3000 !important; // 必须高于弹窗的z-index
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15); // 增加阴影便于识别
}

// .amap-logo {
//   display: none !important;
// }

// .amap-copyright {
//   display: none !important;
// }

#app {
  height: 100%;
  overflow-y: overlay;

  .el-table__row .el-table__cell {
    padding: 10px 0 !important;
    min-height: 40px !important;
  }

  .title {
    font-family: 'Arial Negreta', 'Arial Normal', 'Arial', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 16px;
    color: #121737;
    margin-bottom: 20px;
  }


  .title::before {
    content: "";
    /* 必须有内容才能使伪元素生效 */
    display: inline-block;
    /* 确保伪元素以块级元素显示 */
    width: 7px;
    /* 长方形的宽度 */
    height: 15px;
    /* 长方形的高度 */
    background-color: #2f54eb;
    /* 长方形的背景颜色 */
    margin-right: 5px;
    border-radius: 3px;
    /* 与文本内容的间距 */
  }

  .flexDiv {
    display: flex;
    align-items: center;
  }

  .mg10 {
    margin: 10px 0;
  }


  .btnDiv {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 10px;
  }

  // 弹窗样式
  .el-dialog__wrapper {
    display: flex;
    align-items: center;

    .el-dialog {
      background-color: #f2f2f2 !important;
      border: 1px solid #24695c;
    }

    .el-dialog__header {
      background-color: #fafafa !important;
      padding: 10px;

      .header-title {
        position: relative;

        p {
          font-size: 16px;
          font-family: "思源黑体 CN Bold", "思源黑体 CN";
          font-weight: 700;
          font-style: normal;
          color: #242934;
        }

        img {
          position: absolute;
          bottom: -6px;
        }

      }
    }


    .dialog-footer {
      text-align: end;
      padding: 0;
      padding-bottom: 10px;
      display: block;
    }

    .el-dialog__footer {
      padding: 10px;

      // .dialog-footer {
      //   text-align: end;
      //   padding: 0;
      // }
    }
  }

  .listWrap {
    width: 100%;
    margin-bottom: 10px;
    border: 1px solid #e6edef;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    border-radius: 0;
    background-color: #fff;
    padding: 15px;
  }

  .el-form-item__label {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-weight: 350;
    font-style: normal;
    color: #3f3d3f;
    font-size: 12px;
    text-align: left;
  }

  .el-form--inline {
    .el-form-item__label {
      margin-right: 10px;
    }
  }

  .el-range-editor--mini .el-range-separator {
    line-height: 28px;
    font-size: 12px;
  }

  .el-input__inner {
    height: 35px;
    line-height: 35px;
  }

  .el-button {
    padding: 12px 20px;
  }

  .el-button--text {
    padding: 0;
  }


  // 查询form表单样式
  .queryForm {
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;

    .el-form {
      padding-bottom: 20px;
      display: flex;
      flex-wrap: wrap;

      .el-form-item {
        margin-bottom: 10px;
        min-width: 200px;
        margin-right: 30px;
        width: 21%;
        display: flex;

        .el-select {
          width: 100%;
        }

        .el-date-editor {
          width: 100%
        }

        .el-cascader {
          width: 100%;
        }

        .el-form-item__content {
          flex: 1;
        }


      }
    }
  }

  // table样式
  .listTable {
    font-size: 12px;
    font-family: '思源黑体 CN Normal', '思源黑体 CN';
    font-weight: 350;
    font-style: normal;
    color: #333;
    width: 100%;
    // overflow-y: auto;

    .el-header--row {
      .el-header--column {
        background-color: #fff;
        padding: 10px 0;
      }
    }

    th {
      padding: 5px 0 !important;
      color: #333;
      font-size: 14px;
      font-weight: 700;
      font-family: "思源黑体 CN Bold", "思源黑体 CN";
    }

    td {
      padding: 5px 0;

    }

    .cell {
      // line-height: 30px;
      padding-left: 10px !important;
      padding-right: 10px !important;
    }

    .has-gutter {
      color: #323232;
    }

    th {
      .cell {
        padding-left: 0 !important;
        padding-right: 0 !important;
        font-weight: normal;
        font-size: 12px;
      }
    }

  }



  // 操作样式
  .operate {
    color: #2f54eb;
    cursor: pointer;
  }


  .operate+.operate {
    margin-left: 10px;
  }

  // 删除样式
  .delOperate {
    color: #e25667;
    cursor: pointer;
  }

  .spaceMartk {
    color: #0000ff;
    margin: 0 3px;
  }
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}